<% include head %>
<style>
	.regist{
		padding: 200px 10px;
		width: 500px;
		margin: 0 auto;
		
	}
	.regist form div{
		overflow: hidden;
		margin: 20px 0;
	}
	.regist form input{
		border:  solid 1px #EEEEEE;
		line-height: 30px;
		width: 70%;
		float: left;
		padding-left: 15px;
	}
	.regist form span{
		float: left;
		width: 10%;
		line-height: 30px;
	}
	.regist form button{
		display: block;
		width: 70%;
		margin-left: 10%;
		line-height: 35px;
		cursor: pointer;
		color: white;
		font-size: 18px;
		border: none;
		background: linear-gradient(to right,#FF9900 10%,#ff5500 90%);
	}
</style>
		<div class="regist">
			<form method="post" action="/regist">
				<div><span>账号</span> <input type="text" name="uname"/></div>
				<div><span>密码</span> <input type="password" name="pwd"/></div>
				<div><span>口令</span> <input type="text" name="kouling" /></div>
				<button type="submit">注册</button>
			</form>
		</div>
		
		
		<script>
			$('form').submit(function(ev){
				ev.preventDefault();
				var data = this.
				$.post('/regist',data,function(resData){
					console.log(resData);
				})
			})
		</script>
<% include foot %>	